package main

import (
	beego "github.com/beego/beego/v2/server/web"
	_ "go-cmdb/models"
	_ "go-cmdb/pkg/session"
	_ "go-cmdb/routers"
)

func main() {

	//http://www.cssmoban.com/cssthemes/17952.shtml
	//本地
	if beego.BConfig.RunMode == beego.DEV {
		//pkg.OpenBrowser(fmt.Sprintf("http://localhost:%d/%s?ts=%d", beego.BConfig.Listen.HTTPPort, admin.LoginRouter, time.Now().UnixNano()))
	}

	beego.Run()

}
